﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMOEng.SubSystems;
using MMOEng.Packets.EnginePackets;

namespace MMOEng.Components
{
    [Serializable]
    public abstract class BaseComponent : IComponent
    {
        public guid guid;

        [NonSerialized]
        public ISubSystem ParentSystem;

        public BaseComponent(guid guid, ISubSystem parent) { this.guid = guid; this.ParentSystem = parent; }

        public abstract void NotifyOfUpdate();
    }
}
